package com.wanyang.mapper;

import com.wanyang.dos.MemberCollectDO;
import com.wanyang.dos.MemberCollectDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberCollectDOMapper {
    long countByExample(MemberCollectDOExample example);

    int deleteByExample(MemberCollectDOExample example);

    int deleteByPrimaryKey(@Param("memberId") Integer memberId, @Param("postId") Integer postId);

    int insert(MemberCollectDO record);

    int insertSelective(MemberCollectDO record);

    MemberCollectDO selectOneByExample(MemberCollectDOExample example);

    List<MemberCollectDO> selectByExample(MemberCollectDOExample example);

    MemberCollectDO selectByPrimaryKey(@Param("memberId") Integer memberId, @Param("postId") Integer postId);

    int updateByExampleSelective(@Param("record") MemberCollectDO record, @Param("example") MemberCollectDOExample example);

    int updateByExample(@Param("record") MemberCollectDO record, @Param("example") MemberCollectDOExample example);

    int updateByPrimaryKeySelective(MemberCollectDO record);

    int updateByPrimaryKey(MemberCollectDO record);
}